package org.hugh.space.service.impl;

import java.io.Serializable;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hugh.space.business.FrontService;
import org.hugh.space.service.front.LoginService;
import org.jabsorb.JSONRPCBridge;

public class FrontServiceImpl  implements FrontService, Serializable {

	private static final Log log = LogFactory.getLog(FrontServiceImpl.class);

	private LoginService loginService;
	
	public void init() {
	}

	@Override
	public void register(JSONRPCBridge bridge) {
		bridge.registerObject("loginFrontService", loginService);
		
	}
	
	@Override
	public void unregister(JSONRPCBridge bridge) {
		bridge.unregisterObject("loginFrontService");
	}


	@Override
	public LoginService getLoginService() {
		return loginService;
	}

	@Override
	public void setLoginService(LoginService bean) {
		loginService = bean;
	}

	
	
}